//
//  ExtFSCalendarTransitionCoordinator.swift
//  koolcar
//
//  Created by xiantian on 2023/11/1.
//

import UIKit
import FSCalendar

extension FSCalendarTransitionCoordinator {

    public func scopeTransitionDidUpdateOriginY(originY: CGFloat){

        
        
        
    }
    
}

//var FSCalendarHeaderLeftBtnKey: UnsafePointer<String>? = nil
//var FSCalendarHeaderRightBtnKey: UnsafePointer<UIButton>?      =   nil
//extension FSCalendarHeaderView {
//    var leftBtn: UIButton! {
//        get {
//            guard let tempBtn = objc_getAssociatedObject(self, &FSCalendarHeaderLeftBtnKey) as? UIButton else {
//                let tempBtn = UIButton()
//                tempBtn.frame = CGRect.init(x: kScreenWidth - 60, y: 0, width: 60, height: 40)
//                tempBtn.backgroundColor = .white
//                tempBtn.setup_image(image: UIImage.init(named: "calendar_right"))
//                objc_setAssociatedObject(self, &FSCalendarHeaderLeftBtnKey, tempBtn, .OBJC_ASSOCIATION_RETAIN)
//                return tempBtn
//            }
//            return tempBtn
//        }
//    }
//    
//    var rightBtn: UIButton! {
//        get {
//            guard let tempBtn = objc_getAssociatedObject(self, &FSCalendarHeaderRightBtnKey) as? UIButton else {
//                let tempBtn = UIButton()
//                tempBtn.frame = CGRect.init(x: kScreenWidth - 60, y: 0, width: 60, height: 40)
//                tempBtn.backgroundColor = .white
//                tempBtn.setup_image(image: UIImage.init(named: "calendar_right"))
//                objc_setAssociatedObject(self, &FSCalendarHeaderRightBtnKey, tempBtn, .OBJC_ASSOCIATION_RETAIN)
//                return tempBtn
//            }
//            return tempBtn
//        }
//    }
//    
//}
